package com.itheima.FoodCase;

/**
 * @ClassName FOOD
 * @Author 16799
 * @Date 2025/7/1 10:23
 * @Version 1.0
 * @Description TODO
 *
 * 自己写一遍arraylist包下面的黑马案例，所以就不写注释了
 **/
public class FOOD {
    private String name;
    private double originalPrice;
    private double price;
    private String information;

    public FOOD(){

    }

    public FOOD(String name, double originalPrice, double price, String information) {
        this.name = name;
        this.originalPrice = originalPrice;
        this.price = price;
        this.information = information;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public String getName() {
        return name;
    }

    public double getOriginalPrice() {
        return originalPrice;
    }

    public double getPrice() {
        return price;
    }

    public String getInformation() {
        return information;
    }
}
